<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex grainstationMap_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub grainstationMap_fd0_0'>
          <view class='flex flex-wrap align-center grainstationMap_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  grainstationMap_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='grainstationMap_fd0_0_c1_c0'>粮站地图</text>
          </view>
          <view class='flex flex-wrap align-center justify-end grainstationMap_fd0_0_c0'>
            <image class='grainstationMap_fd0_0_c2_c0' mode="aspectFit" :src='STATIC_URL+"7.png"'></image>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center grainstationMap_flex_1">
        <view>
          <benben-flex-tabs class-name='grainstationMap_benbenTabsfd1_0' v-model="tabls" ref="benben_tabsfd1_0"
            select-mark="benben_tabsfd1_0" key="benben_tabsfd1_0" :open-title-type='false' :open-sticky='false' :top='0'
            @change="getList()" :is-show-content='false' :scrollspy='false' :tabs-info.sync="tabsInfofd1_0">

            <scroll-view @scroll="tabsInfofd1_0.scrollX = $event.detail.scrollLeft" id="benben_tabsfd1_0"
              class="benben-tabs" style="width:750rpx" :scroll-x="true" :scroll-left.sync="tabsInfofd1_0.moveX"
              scroll-with-animation="all .3s ease">
              <view class="benben-tabs-content" id="benben_tabsfd1_0-content">
                <view id="benben_tabsfd1_0-title" class="benben-tabs-title flex flex align-center justify-around">
                  <view
                    :class="{ 'checkTitlefd1_0': tabls == '1', 'flex flex-wrap align-center justify-center grainstationMap_titlefd1_0_c3': true }"
                    @tap="chooseTab('1')" :id="`benben_tabsfd1_0-title-item-${'1'}`">

                    <text>粮贸地图</text>

                  </view>
                  <view
                    :class="{ 'checkTitlefd1_0': tabls == '2', 'flex flex-wrap align-center justify-center grainstationMap_titlefd1_0_c3': true }"
                    @tap="chooseTab('2') " :id="`benben_tabsfd1_0-title-item-${'2'}`">

                    <text>粮贸列表</text>

                  </view>
                  <view
                    :class="{ 'checkTitlefd1_0': tabls == '3', 'flex flex-wrap align-center justify-center grainstationMap_titlefd1_0_c3': true }"
                    @tap="chooseTab('3')" :id="`benben_tabsfd1_0-title-item-${'3'}`">

                    <text>我的粮贸</text>

                  </view>
                </view>
                <view :style="{ left: tabsInfofd1_0.lineleft, maxWidth: tabsInfofd1_0.lineWidth ,}"
                  id="benben_tabsfd1_0-line"
                  class="benben-tabs-line flex benben-flex-tabs-line grainstationMap_linefd1_0"></view>
              </view>
            </scroll-view>

          </benben-flex-tabs>

        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout grainstationMap_flex_2">
        <view class='flex flex-direction flex-wrap align-stretch'>
          <view class='flex flex-wrap align-center' v-if=" tabls=='1' || tabls=='2'">
            <view>
              <benben-flex-tabs class-name='grainstationMap_benbenTabsfd2_0_c0_c0' v-model="tabls_type"
                ref="benben_tabsfd2_0_c0_c0" select-mark="benben_tabsfd2_0_c0_c0" key="benben_tabsfd2_0_c0_c0"
                :open-title-type='false' :open-sticky='false' :top='0' :is-show-content='false' :scrollspy='false'
                :tabs-info.sync="tabsInfofd2_0_c0_c0">

                <scroll-view @scroll="tabsInfofd2_0_c0_c0.scrollX = $event.detail.scrollLeft"
                  id="benben_tabsfd2_0_c0_c0" class="benben-tabs" style="width:600rpx" :scroll-x="true"
                  :scroll-left.sync="tabsInfofd2_0_c0_c0.moveX" scroll-with-animation="all .3s ease">
                  <view class="benben-tabs-content" id="benben_tabsfd2_0_c0_c0-content">
                    <view id="benben_tabsfd2_0_c0_c0-title" class="benben-tabs-title flex align-center flex ">
                      <view v-for="(item,index) in cateList" :key="index" @tap.stop="chooseCate(item)"
                        :class="{ 'checkTitlefd2_0_c0_c0': tabls_type == item.aid, 'flex flex-wrap align-center grainstationMap_titlefd2_0_c0_c0_c3': true }"
                        :id="`benben_tabsfd2_0_c0_c0-title-item-${item.aid}`">

                        <text>{{item.mingcheng}}</text>

                      </view>
                    </view>
                    <view :style="{ left: tabsInfofd2_0_c0_c0.lineleft, maxWidth: tabsInfofd2_0_c0_c0.lineWidth ,}"
                      id="benben_tabsfd2_0_c0_c0-line"
                      class="benben-tabs-line flex benben-flex-tabs-line grainstationMap_linefd2_0_c0_c0"></view>
                  </view>
                </scroll-view>

              </benben-flex-tabs>

            </view>
          </view>
          <!--       <view class='flex flex-wrap align-center justify-between grainstationMap_fd2_0_c1' v-if=" tabls!='1'">
            <view class='flex flex-wrap align-center grainstationMap_fd2_0_c1_c0'>
              <text class='grainstationMap_fd2_0_c1_c0_c0'>郑州</text>
              <image class='grainstationMap_fd2_0_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"68.png"'></image>
            </view>
            <view class='flex flex-wrap align-center grainstationMap_fd2_0_c1_c1'>
              <text class='grainstationMap_fd2_0_c1_c1_c0'>养殖专区</text>
            </view>
            <view class='flex flex-wrap align-center grainstationMap_fd2_0_c1_c1'>
              <text class='grainstationMap_fd2_0_c1_c1_c0'>信息部</text>
            </view>
            <view class='flex flex-wrap align-center grainstationMap_fd2_0_c1_c1'>
              <text class='grainstationMap_fd2_0_c1_c1_c0'>过筛</text>
            </view>
            <view class='flex flex-wrap align-center grainstationMap_fd2_0_c1_c1'>
              <text class='grainstationMap_fd2_0_c1_c1_c0'>色选</text>
            </view>
          </view> -->
        </view>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center grainstationMap_flex_3" v-if=" in_array(tabls,'1,3')">
        <map id="map" class="map" :show-location="true" :markers="markers" :latitude="address.latitude"
          :longitude="address.longitude" @markertap="markertap" :circles="circles"></map>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout grainstationMap_flex_4"
        v-if=" tabls=='2'">
        <view class='flex flex-direction flex-wrap align-stretch grainstationMap_fd4_0' @tap.stop="handleJumpDiy"
          v-for="(item,index) in dataList" :key="index" data-type="navigateTo"
          :data-url="`/pages/shouye/grainDetails/grainDetails?aid=${item.aid}`">
          <view class='flex flex-wrap align-center'>
            <image class='grainstationMap_fd4_0_c0_c0' mode="aspectFill" :src='item.zhaopaifengmian[0]'></image>
            <view class='flex flex-direction flex-wrap align-stretch flex-sub'>
              <text class='grainstationMap_fd4_0_c0_c1_c0'>{{item.mingcheng}}</text>
              <text class='grainstationMap_fd4_0_c0_c1_c1'>{{item.chengshi}}</text>
              <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c2'>
                <text class='grainstationMap_fd4_0_c0_c1_c2_c0'>经营</text>
                <text class='grainstationMap_fd4_0_c0_c1_c2_c0'>{{item.jingyingnianxian}}年</text>
                <text class='grainstationMap_fd4_0_c0_c1_c2_c0'>丨距您</text>
                <text class='grainstationMap_fd4_0_c0_c1_c2_c3'>{{item.distance || 0}}</text>
              </view>
              <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c3'>
                <text
                  class='grainstationMap_fd4_0_c0_c1_c3_c0'>{{item.liangzhan_cate_pid1_text}}{{item.liangzhan_cate_pid2_text}}{{item.liangzhan_cate_pid3_text}}</text>
                <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c3_c1'
                  v-if="item.liangzhan_cate_pid4_text">
                  <text class='grainstationMap_fd4_0_c0_c1_c3_c1_c0'>{{item.liangzhan_cate_pid4_text}}</text>
                </view>
                <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c3_c1'
                  v-if="item.liangzhan_cate_pid5_text">
                  <text class='grainstationMap_fd4_0_c0_c1_c3_c1_c0'>{{item.liangzhan_cate_pid5_text}}</text>
                </view>
                <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c3_c1'
                  v-if="item.liangzhan_cate_pid6_text">
                  <text class='grainstationMap_fd4_0_c0_c1_c3_c1_c0'>{{item.liangzhan_cate_pid6_text}}</text>
                </view>
              </view>
              <view class='flex flex-wrap align-center grainstationMap_fd4_0_c0_c1_c4'>
                <view class="flex flex-wrap align-center" v-if="item.certified==2">
                  <image class='grainstationMap_fd4_0_c0_c1_c4_c0' mode="aspectFit" :src='STATIC_URL+"5.png"'></image>
                  <text class='grainstationMap_fd4_0_c0_c1_c4_c1'>已实名认证</text>
                </view>
                <view class="flex flex-wrap align-center" v-if="item.is_vip">
                  <image class='grainstationMap_fd4_0_c0_c1_c4_c2' mode="aspectFit" :src='STATIC_URL+"5.png"'></image>
                  <text class='grainstationMap_fd4_0_c0_c1_c4_c1'>VIP会员</text>
                </view>
              </view>
            </view>
          </view>
          <view class='flex flex-wrap align-center justify-between grainstationMap_fd4_0_c1'>
            <view class='flex flex-wrap align-center justify-center grainstationMap_fd4_0_c1_c0'
              @click.stop="goMap(item)">
              <image class='grainstationMap_fd4_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"62.png"'></image>
              <image class='grainstationMap_fd4_0_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"63.png"'></image>
              <text class='grainstationMap_fd4_0_c1_c0_c2'>一键导航</text>
            </view>
            <view class='flex flex-wrap align-center justify-center grainstationMap_fd4_0_c1_c1'
              @click.stop="callPhone(item)">
              <image class='grainstationMap_fd4_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"62.png"'></image>
              <image class='grainstationMap_fd4_0_c1_c0_c1' mode="aspectFit" :src='STATIC_URL+"64.png"'></image>
              <text class='grainstationMap_fd4_0_c1_c0_c2'>立即联系</text>
            </view>
          </view>
        </view>
        <fu-empty-ui v-if="dataList.length==0"></fu-empty-ui>
      </view>

      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->


      <!---flex布局flex布局结束-->
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center grainstationMap_flex_6" v-if=" tabls=='1'"
        @tap.stop="gohref" data-type="navigateTo" :data-url="`/pages/wode/notgrainStation/notgrainStation`">
        <image class='grainstationMap_fd6_0' mode="aspectFit" :src='STATIC_URL+"67.png"'></image>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "tabsInfofd2_0_c0_c0": {
          lineleft: '',
          lineWidth: '',
          moveX: 0,
          scrollX: 0,
          PageScrollX: 0
        },
        "tabsInfofd1_0": {
          lineleft: '',
          lineWidth: '',
          moveX: 0,
          scrollX: 0,
          PageScrollX: 0
        },
        "tabls": "1",
        cateList: [],
        "tabls_type": "",
        lat: '',
        lng: '',
        markers: [],
        circles: [],
        dataList: [],
        address: {
          latitude: '',
          longitude: '',
          city: ''
        },
        is_vip: false
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },
      userInfo() {
        return this.$store.state.userInfo
      },
      isLogin() {
        return this.$store.state.token == '' ? false : true;
      }
    },
    watch: {},
    onLoad(options) {
      if (this.isLogin) {
        this.$api.post(global.apiUrls.post5c78c4772da97).then(res => {
          if (res.data.code == 1) {
            this.is_vip = res.data.data.is_vip

          }
        })
      }
      this.getDAta()
      this.getList()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
      let that = this
      if (uni.getStorageSync('address')) {
        this.address = uni.getStorageSync('address')
        console.log(' this.address', this.address)
      } else {
        uni.getLocation({
          type: 'gcj02',
          // #ifdef APP
          geocode: true,
          // #endif
          isHighAccuracy: true,
          success: adr => {
            console.log('adradradradr', adr)
            const obj = {
              latitude: adr.latitude,
              longitude: adr.longitude,
              city: adr.address.city
            }
            uni.setStorageSync('address', obj)
            this.address = uni.getStorageSync('address')
          }
        })
      }
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      gohref() {
        if (!this.is_vip) {
          this.$message.info('请前往充值会员')
          setTimeout(res => {
            uni.navigateTo({
              url: `/pages/wode/rurchaseMembership/rurchaseMembership`
            })
          }, 500)
          return;
        }
        this.$api.post(global.apiUrls.post65d84a4c2a9f6, {
          user_id: this.userInfo && this.userInfo.id
        }).then(res => {
          console.log('ressssssss', res.data.code, )
          if (res.data.code == 1) {
            this.$urouter.navigateTo(`/pages/wode/mygrainStation/mygrainStation`);
          } else if (res.data.code == '-1') {
            this.$urouter.navigateTo(`/pages/wode/notgrainStation/notgrainStation`);
          }
        })
      },
      goMap(item) {
        if (item.is_vip) {
          uni.openLocation({
            latitude: parseFloat(item.weidu),
            longitude: parseFloat(item.jingdu),
            name: item.weizhi,
            success() {
              console.log('success')
            }
          })
        } else {
          this.$urouter.navigateTo(`/pages/wode/rurchaseMembership/rurchaseMembership`);
        }
      },
      callPhone(item) {
        if (item.is_vip) {
          this.callMobile(item.lianxidianhua)
        } else {
          this.$urouter.navigateTo(`/pages/wode/rurchaseMembership/rurchaseMembership`);
        }
      },
      markertap(e) {
        let _this = this
        let markObj = _this.markers[e.detail.markerId - 1];
        uni.navigateTo({
          url: `/pages/shouye/grainDetails/grainDetails?aid=${markObj.val.aid}`
        })
        console.log('markObjmarkObjmarkObj', markObj.val.aid)
      },
      getDAta() {
        this.$api.post(global.apiUrls.post65dc2348a02eb).then(res => { //查询品类类别列表
          if (res.data.code == 1) {
            this.cateList = res.data.data
            this.tabls_type = this.cateList[0].aid
            this.getList()
          }
        })
      },
      chooseCate(item) {
        this.tabls_type = item.aid
        console.log('pppp', item, this.tabls_type)
        this.getList()
      },
      getList() {
        let urlls = ''
        if (this.tabls == 2) {
          urlls = global.apiUrls.post65d83f1edcfe6
        } else { //地图列表
          urlls = global.apiUrls.post65dc2d8ea9a68
        }
        this.$api.post(urlls, {
          liagnzhanothercate_id: this.tabls_type,
          // chengshi: this.address.city
          lat: this.address.latitude,
          lng: this.address.longitude

        }).then(res => {
          if (res.data.code == 1) {
            this.dataList = res.data.data;
            if (this.tabls == 1) {
              this.circles = this.dataList.map((val, key) => {
                let obj = {};
                obj.latitude = val.lat;
                obj.longitude = val.lng;
                obj.radius = 60;
                obj.strokeWidth = 0;
                obj.color = '#d1682d80';
                obj.fillColor = '#d1682d80';
                return obj;
              })
              this.markers = this.dataList.map((val, key) => {
                let obj = {};
                obj.id = key + 1;
                obj.latitude = parseFloat(val.latitude);
                obj.longitude = parseFloat(val.longitude);
                obj.val = val;
                obj.width = 12;
                obj.height = 12;
                obj.iconPath = val.iconPath;
                // obj.title = val.mingcheng
                let lab = {};
                // lab.content = val.mingcheng;
                lab.color = "white";
                lab.textAlign = "center";
                lab.borderColor = "#FFFFFF";
                lab.bgColor = "#000000";
                lab.padding = 4;
                obj.label = lab;

                return obj
              })
            }
          }
        })
      },
      chooseTab(type) {
        if (type == 3) {
          console.log('lllll')
          // 跳转到我的粮站
          uni.navigateTo({
            url: `/pages/wode/mygrainStation/mygrainStation`
          })
          return;
        }
        this.tabls = type
      }
    }
  };
</script>
<style lang="scss" scoped>
  .map {
    flex: 1;
    // width: 750rpx;
    width: 100%;
    height: 1000rpx;
  }

  ::v-deep .amap-logo {
    opacity: 0 !important;
  }

  ::v-deep .amap-copyright {
    opacity: 0 !important;
  }

  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .grainstationMap_flex_0 {
    background: rgba(255, 255, 255, 1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto;
  }

  .grainstationMap_fd0_0_c2_c0 {
    width: 119rpx;
    height: 55rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333333;
    line-height: 50rpx;
  }

  .grainstationMap_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .grainstationMap_fd0_0_c0 {
    width: 120rpx;
  }

  .grainstationMap_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .grainstationMap_flex_1 {
    background: rgba(248, 248, 250, 1);
    background-size: 100% auto;
  }

  .grainstationMap_titlefd1_0_c3 {
    width: 199rpx;
    height: 77rpx;
    border-radius: 16rpx;
  }

  .grainstationMap_linefd1_0 {
    background: rgba(248, 248, 250, 1);
    width: 100rpx;
    height: 8rpx;
    top: 93rpx;
    background-size: 100% auto !important;
  }

  .checkTitlefd1_0 {
    font-weight: 500 !important;
    font-size: 28rpx !important;
    color: #FFFFFF !important;
    background-color: #2568AE !important;
  }

  ::v-deep .grainstationMap_benbenTabsfd1_0 {
    background: rgba(248, 248, 250, 1);
    width: 750rpx;
    height: 101rpx;
    white-space: nowrap;
    text-align: center;
    background-size: 100% auto;
  }

  .grainstationMap_flex_2 {
    background: rgba(255, 255, 255, 1);
    background-size: 100% auto;
    border-radius: 0rpx 0rpx 16rpx 16rpx;
  }

  .grainstationMap_fd2_0_c1_c1_c0 {
    color: rgba(51, 51, 51, 1);
    font-size: 28rpx;
    font-weight: 400;
    line-height: 28rpx;
  }

  .grainstationMap_fd2_0_c1_c1 {
    background: rgba(248, 248, 248, 1);
    padding: 8rpx 24rpx 8rpx 24rpx;
    border-radius: 28rpx;
    background-size: 100% auto;
  }

  .grainstationMap_fd2_0_c1_c0_c1 {
    width: 20rpx;
    height: 11rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 0rpx 8rpx;
  }

  .grainstationMap_fd2_0_c1_c0_c0 {
    color: #2568AE;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 28rpx;
  }

  .grainstationMap_fd2_0_c1_c0 {
    background: rgba(37, 104, 174, 0.1);
    padding: 8rpx 24rpx 8rpx 24rpx;
    border-radius: 28rpx;
    background-size: 100% auto;
  }

  .grainstationMap_fd2_0_c1 {
    height: 100rpx;
    padding: 0rpx 28rpx 0rpx 28rpx;
  }

  .grainstationMap_titlefd2_0_c0_c0_c7 {
    background: rgba(248, 248, 248, 1);
    padding: 8rpx 24rpx 8rpx 24rpx;
    background-size: 100% auto;
    border-radius: 50rpx;
    margin: 0rpx 28rpx 0rpx 0rpx;
  }

  .grainstationMap_titlefd2_0_c0_c0_c3 {
    background: rgba(248, 248, 248, 1);
    padding: 8rpx 24rpx 8rpx 24rpx;
    border-radius: 50rpx;
    background-size: 100% auto;
    margin: 0rpx 28rpx 0rpx 0rpx;
  }

  .grainstationMap_linefd2_0_c0_c0 {
    background: rgba(255, 255, 255, 1);
    width: 100rpx;
    height: 8rpx;
    top: 80rpx;
    background-size: 100% auto !important;
  }

  .checkTitlefd2_0_c0_c0 {
    font-weight: 500 !important;
    font-size: 28rpx !important;
    color: #2568AE !important;
    background-color: #E8EFF7 !important;
  }

  ::v-deep .grainstationMap_benbenTabsfd2_0_c0_c0 {
    background: #fff;
    width: 700rpx;
    height: 96rpx;
    white-space: nowrap;
    text-align: center;
    padding: 0rpx 0rpx 0rpx 28rpx;
  }

  .grainstationMap_flex_3 {
    // background: url(image-path('66.png')) no-repeat;
    // height: 400rpx;
    // background-size: 100% auto;
  }

  .grainstationMap_flex_4 {
    padding: 24rpx 30rpx 0rpx 30rpx;
  }

  .grainstationMap_fd4_0_c1_c1 {
    background: linear-gradient(90deg, #FBEBCC 0%, #F8D48F 100%);
    width: 300rpx;
    height: 80rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
    position: relative;
  }

  .grainstationMap_fd4_0_c1_c0_c2 {
    color: #624314;
    font-size: 32rpx;
    font-weight: 700;
    line-height: 32rpx;
  }

  .grainstationMap_fd4_0_c1_c0_c1 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 11rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c1_c0_c0 {
    width: 72rpx;
    height: 29rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    position: absolute;
    top: 0rpx;
    left: 0rpx;
    z-index: 1;
  }

  .grainstationMap_fd4_0_c1_c0 {
    background: linear-gradient(90deg, #F3E0C7 0%, #F2C49D 100%);
    width: 300rpx;
    height: 80rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
    position: relative;
  }

  .grainstationMap_fd4_0_c1 {
    margin: 40rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c4_c2 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 34rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c4_c1 {
    color: #C86105;
    font-size: 26rpx;
    font-weight: 400;
    line-height: 26rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c4_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c4 {
    margin: 17rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c3_c1_c0 {
    color: #667D91;
    font-size: 24rpx;
    font-weight: 500;
    line-height: 24rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c3_c1 {
    background: rgba(244, 247, 255, 1);
    margin: 0rpx 0rpx 0rpx 24rpx;
    padding: 4rpx 14rpx 4rpx 14rpx;
    border-radius: 4rpx;
    background-size: 100% auto;
  }

  .grainstationMap_fd4_0_c0_c1_c3_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c3 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c2_c3 {
    color: #2568AE;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c2_c0 {
    color: rgba(153, 153, 153, 1);
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c2 {
    margin: 10rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c1 {
    color: #666666;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 28rpx;
    margin: 14rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0_c0_c1_c0 {
    color: #101010;
    font-size: 34rpx;
    font-weight: 500;
    line-height: 34rpx;
  }

  .grainstationMap_fd4_0_c0_c0 {
    width: 220rpx;
    height: 266rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .grainstationMap_fd4_0 {
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    background-size: 100% auto;
    margin: 0rpx 0rpx 24rpx 0rpx;
    padding: 32rpx 24rpx 40rpx 24rpx;
  }

  .grainstationMap_flex_5 {
    background: rgba(248, 248, 250, 1);
    background-size: 100% auto;
    padding: 24rpx 30rpx 33rpx 30rpx;
  }

  .grainstationMap_fd5_0_c1_c1 {
    background: linear-gradient(90deg, #FBEBCC 0%, #F8D48F 100%);
    width: 300rpx;
    height: 80rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
    position: relative;
  }

  .grainstationMap_fd5_0_c1_c0_c2 {
    color: #624314;
    font-size: 32rpx;
    font-weight: 700;
    line-height: 32rpx;
  }

  .grainstationMap_fd5_0_c1_c0_c1 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 11rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c1_c0_c0 {
    width: 72rpx;
    height: 29rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    position: absolute;
    top: 0rpx;
    left: 0rpx;
    z-index: 1;
  }

  .grainstationMap_fd5_0_c1_c0 {
    background: linear-gradient(90deg, #F3E0C7 0%, #F2C49D 100%);
    width: 300rpx;
    height: 80rpx;
    border-radius: 24rpx;
    background-size: 100% auto;
    position: relative;
  }

  .grainstationMap_fd5_0_c1 {
    margin: 40rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c4_c2 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 34rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c4_c1 {
    color: #C86105;
    font-size: 26rpx;
    font-weight: 400;
    line-height: 26rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c4_c0 {
    width: 40rpx;
    height: 40rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c4 {
    margin: 17rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c3_c1_c0 {
    color: #667D91;
    font-size: 24rpx;
    font-weight: 500;
    line-height: 24rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c3_c1 {
    background: rgba(244, 247, 255, 1);
    margin: 0rpx 0rpx 0rpx 24rpx;
    padding: 4rpx 14rpx 4rpx 14rpx;
    border-radius: 4rpx;
    background-size: 100% auto;
  }

  .grainstationMap_fd5_0_c0_c1_c3_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c3 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c2_c3 {
    color: #2568AE;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c2_c0 {
    color: rgba(153, 153, 153, 1);
    font-size: 24rpx;
    font-weight: 400;
    line-height: 32rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c2 {
    margin: 10rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c1 {
    color: #666666;
    font-size: 28rpx;
    font-weight: 400;
    line-height: 28rpx;
    margin: 14rpx 0rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0_c0_c1_c0 {
    color: #101010;
    font-size: 34rpx;
    font-weight: 500;
    line-height: 34rpx;
  }

  .grainstationMap_fd5_0_c0_c0 {
    width: 220rpx;
    height: 266rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .grainstationMap_fd5_0 {
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    background-size: 100% auto;
    margin: 0rpx 0rpx 24rpx 0rpx;
    padding: 32rpx 24rpx 40rpx 24rpx;
  }

  .grainstationMap_flex_6 {
    position: fixed;
    right: 17rpx;
    bottom: calc(107rpx + var(--window-bottom));
  }

  .grainstationMap_fd6_0 {
    width: 140rpx;
    height: 140rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }
</style>
